//
//  SystemDefine.h
//  SAP
//
//  Created by 中矿科技有限公司 on 17/9/11.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#ifndef SystemDefine_h
#define SystemDefine_h

//#define API_HOST        @"http://192.168.1.16/api"//huang
//#define API_HOST        @"http://192.168.1.100:81/ZK.SAP/api"//huang
//#define API_HOST        @"http://47.93.179.77:10001/api"//wai
#define API_HOST        @"http://47.93.179.77:10020/api"//wai
//#define API_HOST        @"http://192.168.1.19:9000/api"//黄

#define SAPLoginKUrl  [API_HOST stringByAppendingString:@"/Account"]//登陆


#define SAPUserProfileKUrl  [API_HOST stringByAppendingString:@"/services/user/profile/GetCurrentUserProfile"]//修改密码

#define SAPChangePasswordKUrl  [API_HOST stringByAppendingString:@"/services/user/profile/ChangePassword"]//修改密码

#define SAPHomeListKUrl  [API_HOST stringByAppendingString:@"/services/sap/workbench/GetWorkbenchData"]//首页列表


#define SAPCompanyListKUrl  [API_HOST stringByAppendingString:@"/services/sap/company/SearchPaged"]//客户列表

#define SAPCompanyDetailKUrl  [API_HOST stringByAppendingString:@"/services/sap/company/GetById?id=%@"]//客户列表

#define SAPGetOptionsKUrl  [API_HOST stringByAppendingString:@"/services/sap/options/GetOptions?module=%@&type=%@"]//获取下拉

#define SAPContractListKUrl  [API_HOST stringByAppendingString:@"/services/sap/contract/SearchPaged"]//合同列表

#define SAPContractDetailKUrl  [API_HOST stringByAppendingString:@"/services/sap/contract/LoadFlowInstanceDetail?instanceId=%@"]//合同详情


#define SAPContractDeleteKUrl  [API_HOST stringByAppendingString:@"/services/sap/contract/Delete?id=%@"]//合同删除

#define SAPContractActionKUrl  [API_HOST stringByAppendingString:@"/services/sap/contract/ExecuteAction?actionCode=%@&nextUserID=%@&remark=%@"]//合同审核流程

#define SAPTransferListKUrl  [API_HOST stringByAppendingString:@"/services/sap/transfer/SearchPaged"]//调拨列表

#define SAPTransferDetailKUrl  [API_HOST stringByAppendingString:@"/services/sap/transfer/LoadFlowInstanceDetail?instanceId=%@"]//调拨详情

#define SAPTransferDeleteKUrl  [API_HOST stringByAppendingString:@"/services/sap/transfer/Delete?id=%@"]//合同删除

#define SAPTransferActionKUrl  [API_HOST stringByAppendingString:@"/services/sap/transfer/ExecuteAction?actionCode=%@&nextUserID=%@&remark=%@"]//调拨审核

#endif /* SystemDefine_h */
